/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * GPRPanel.java
 *
 * Created on 25.09.2011., 16.50.21
 */
package aor2.gui.cpu;

import aor2.components.InstructionCode;
import aor2.cpu.InternBus;
import aor2.cpu.blockcontrol.ControlSignalSet;
import aor2.cpu.blockregisters.GPRegisters;
import aor2.cpu.blockregisters.InstructionRegister;
import java.awt.Graphics;

/**
 * 
 * @author Moxi
 */
public class GPRPanel extends javax.swing.JPanel {

	private static GPRPanel singleton = null;

	public static GPRPanel getInstance() {
		if (singleton == null)
			singleton = new GPRPanel();
		return singleton;
	}

	private JLabelSet regin, regout, dc0, dc1, dc2, dc3, dc4, dc5, dc6, dc7;

	private void makeSignals() {
		regin = new JLabelSet(false, regIN, regIn0, regIn1, regIn2, regin3,
				regIn4, regIn5, regIn6, regIn7);
		regout = new JLabelSet(false, regOut_0, regOut_1, regOut_2, regOut_3,
				regOut_4, regOut_5, regOut_6, regOut_7, regOut_8);
		dc0 = new JLabelSet(true, dc0_1, dc0_2, dc0_3, dc0_4);
		dc1 = new JLabelSet(false, dc1_1, dc1_2, dc1_3, dc1_0);
		dc2 = new JLabelSet(false, dc2_1, dc2_2, dc2_3, dc2_0);
		dc3 = new JLabelSet(false, dc3_1, dc3_2, dc3_0);
		dc4 = new JLabelSet(false, dc4_1, dc4_2, dc4_0, dc4_3);
		dc5 = new JLabelSet(false, dc5_1, dc5_2, dc5_0, dc5_3);
		dc6 = new JLabelSet(false, dc6_1, dc6_2, dc6_0, dc6_3);
		dc7 = new JLabelSet(false, dc7_1, dc7_2, dc7_0, dc7_3);
	}

	@Override
	protected void paintComponent(Graphics g) {
		boolean opselB;
		opsel.setEnabled(opselB = ControlSignalSet.getInstance().get("opsel")
				.isActive());
		regin.setEnabled(ControlSignalSet.getInstance().get("REGin").isActive());
		regout.setEnabled(ControlSignalSet.getInstance().get("REGout")
				.isActive());

		long ir0 = InstructionRegister.IR0.getState();
		int reg;
		if (opselB) {
			reg = (int) (ir0 & InstructionCode.reg1mask) >> 6;
		} else {
			reg = (int) (ir0 & InstructionCode.reg2mask);
		}
		dc0.setEnabled(false);
		dc1.setEnabled(false);
		dc2.setEnabled(false);
		dc3.setEnabled(false);
		dc4.setEnabled(false);
		dc5.setEnabled(false);
		dc6.setEnabled(false);
		dc7.setEnabled(false);
		switch (reg) {
		case 0:
			dc0.setEnabled(true);
			break;
		case 1:
			dc1.setEnabled(true);
			break;
		case 2:
			dc2.setEnabled(true);
			break;
		case 3:
			dc3.setEnabled(true);
			break;
		case 4:
			dc4.setEnabled(true);
			break;
		case 5:
			dc5.setEnabled(true);
			break;
		case 6:
			dc6.setEnabled(true);
			break;
		case 7:
			dc7.setEnabled(true);
			break;
		}
		ldR0.setEnabled(false);
		ldR1.setEnabled(false);
		ldR2.setEnabled(false);
		ldR3.setEnabled(false);
		ldR4.setEnabled(false);
		ldR5.setEnabled(false);
		ldR6.setEnabled(false);
		ldR7.setEnabled(false);

		r0out.setEnabled(false);
		r1out.setEnabled(false);
		r2out.setEnabled(false);
		r3out.setEnabled(false);
		r4out.setEnabled(false);
		r5out.setEnabled(false);
		r6out.setEnabled(false);
		r7out.setEnabled(false);

		if (regin.isEnabled()) {
			switch (reg) {
			case 0: {
				ldR0.setEnabled(true);
				break;
			}
			case 1: {
				ldR1.setEnabled(true);
				break;
			}
			case 2: {
				ldR2.setEnabled(true);
				break;
			}
			case 3: {
				ldR3.setEnabled(true);
				break;
			}
			case 4: {
				ldR4.setEnabled(true);
				break;
			}
			case 5: {
				ldR5.setEnabled(true);
				break;
			}
			case 6: {
				ldR6.setEnabled(true);
				break;
			}
			case 7: {
				ldR7.setEnabled(true);
				break;
			}
			}
		}
		long stater0 = GPRegisters.R0.getState() & 0xFFFF;
		long stater1 = GPRegisters.R1.getState() & 0xFFFF;
		long stater2 = GPRegisters.R2.getState() & 0xFFFF;
		long stater3 = GPRegisters.R3.getState() & 0xFFFF;
		long stater4 = GPRegisters.R4.getState() & 0xFFFF;
		long stater5 = GPRegisters.R5.getState() & 0xFFFF;
		long stater6 = GPRegisters.R6.getState() & 0xFFFF;
		long stater7 = GPRegisters.R7.getState() & 0xFFFF;

		R0.setText("R0: 0x" + Long.toHexString(stater0).toUpperCase());
		R1.setText("R1: 0x" + Long.toHexString(stater1).toUpperCase());
		R2.setText("R2: 0x" + Long.toHexString(stater2).toUpperCase());
		R3.setText("R3: 0x" + Long.toHexString(stater3).toUpperCase());
		R4.setText("R4: 0x" + Long.toHexString(stater4).toUpperCase());
		R5.setText("R5: 0x" + Long.toHexString(stater5).toUpperCase());
		R6.setText("R6(SP): 0x" + Long.toHexString(stater6).toUpperCase());
		R7.setText("R7(PC): 0x" + Long.toHexString(stater7).toUpperCase());

                if(InternBus.M1.isHighZ())M1.setText("M1: Z");
                else
		M1.setText("M1: 0x"
				+ Long.toHexString(InternBus.M1.getState() & 0xFFFF)
						.toUpperCase());
		if(InternBus.M2.isHighZ())M2.setText("M2: Z");
                else
                M2.setText("M2: 0x"
				+ Long.toHexString(InternBus.M2.getState() & 0xFFFF)
						.toUpperCase());

		outR0.setText("");
		outR1.setText("");
		outR2.setText("");
		outR3.setText("");
		outR4.setText("");
		outR5.setText("");
		outR6.setText("");
		outR7.setText("");

		if (regout.isEnabled()) {
			switch (reg) {
			case 0:
				r0out.setEnabled(true);
				outR0.setText("0x" + Long.toHexString(stater0).toUpperCase());
				break;
			case 1:
				r1out.setEnabled(true);
				outR1.setText("0x" + Long.toHexString(stater1).toUpperCase());
				break;
			case 2:
				r2out.setEnabled(true);
				outR2.setText("0x" + Long.toHexString(stater2).toUpperCase());
				break;
			case 3:
				r3out.setEnabled(true);
				outR3.setText("0x" + Long.toHexString(stater3).toUpperCase());
				break;
			case 4:
				r4out.setEnabled(true);
				outR4.setText("0x" + Long.toHexString(stater4).toUpperCase());
				break;
			case 5:
				r5out.setEnabled(true);
				outR5.setText("0x" + Long.toHexString(stater5).toUpperCase());
				break;
			case 6:
				r6out.setEnabled(true);
				outR6.setText("0x" + Long.toHexString(stater6).toUpperCase());
				break;
			case 7:
				r7out.setEnabled(true);
				outR7.setText("0x" + Long.toHexString(stater7).toUpperCase());
				break;
			}
		}

		spin.setEnabled(ControlSignalSet.getInstance().get("SPin").isActive());
		pcin.setEnabled(ControlSignalSet.getInstance().get("PCin").isActive());
		spoutI.setEnabled(ControlSignalSet.getInstance().get("SPout")
				.isActive());
		pcoutI.setEnabled(ControlSignalSet.getInstance().get("PCout")
				.isActive());
		spout.setEnabled(r6out.isEnabled() || spoutI.isEnabled());
		if (spout.isEnabled()) {
			outR6.setText("0x" + Long.toHexString(stater6).toUpperCase());
		}
		pcout.setEnabled(r7out.isEnabled() || pcoutI.isEnabled());
		if (pcout.isEnabled()) {
			outR7.setText("0x" + Long.toHexString(stater7).toUpperCase());
		}

		ldR7.setEnabled(ldR7.isEnabled() || pcin.isEnabled());
		ldR6.setEnabled(ldR6.isEnabled() || spin.isEnabled());

		super.paintComponent(g);

	}

	/** Creates new form GPRPanel */
	private GPRPanel() {
		initComponents();
		makeSignals();
	}

	/**
	 * This method is called from within the constructor to initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is always
	 * regenerated by the Form Editor.
	 */
	@SuppressWarnings("unchecked")
	// <editor-fold defaultstate="collapsed"
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        jLayeredPane1 = new javax.swing.JLayeredPane();
        regIN = new javax.swing.JLabel();
        regIn0 = new javax.swing.JLabel();
        regIn1 = new javax.swing.JLabel();
        regIn2 = new javax.swing.JLabel();
        regin3 = new javax.swing.JLabel();
        regIn4 = new javax.swing.JLabel();
        regIn5 = new javax.swing.JLabel();
        regIn6 = new javax.swing.JLabel();
        regIn7 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        dc0_1 = new javax.swing.JLabel();
        dc0_2 = new javax.swing.JLabel();
        dc0_4 = new javax.swing.JLabel();
        dc0_3 = new javax.swing.JLabel();
        dc1_1 = new javax.swing.JLabel();
        dc1_0 = new javax.swing.JLabel();
        dc1_2 = new javax.swing.JLabel();
        dc1_3 = new javax.swing.JLabel();
        ldR0 = new javax.swing.JLabel();
        ldR1 = new javax.swing.JLabel();
        dc2_3 = new javax.swing.JLabel();
        dc2_2 = new javax.swing.JLabel();
        dc2_1 = new javax.swing.JLabel();
        dc2_0 = new javax.swing.JLabel();
        r0out = new javax.swing.JLabel();
        r1out = new javax.swing.JLabel();
        ldR2 = new javax.swing.JLabel();
        r2out = new javax.swing.JLabel();
        dc3_0 = new javax.swing.JLabel();
        dc3_1 = new javax.swing.JLabel();
        dc3_2 = new javax.swing.JLabel();
        R0 = new javax.swing.JLabel();
        R1 = new javax.swing.JLabel();
        ldR3 = new javax.swing.JLabel();
        regOut_0 = new javax.swing.JLabel();
        regOut_1 = new javax.swing.JLabel();
        regOut_2 = new javax.swing.JLabel();
        regOut_3 = new javax.swing.JLabel();
        regOut_4 = new javax.swing.JLabel();
        regOut_5 = new javax.swing.JLabel();
        dc4_2 = new javax.swing.JLabel();
        dc4_1 = new javax.swing.JLabel();
        dc4_0 = new javax.swing.JLabel();
        dc4_3 = new javax.swing.JLabel();
        regOut_6 = new javax.swing.JLabel();
        regOut_7 = new javax.swing.JLabel();
        regOut_8 = new javax.swing.JLabel();
        dc5_0 = new javax.swing.JLabel();
        dc5_1 = new javax.swing.JLabel();
        dc5_2 = new javax.swing.JLabel();
        dc5_3 = new javax.swing.JLabel();
        dc6_0 = new javax.swing.JLabel();
        dc6_1 = new javax.swing.JLabel();
        dc6_2 = new javax.swing.JLabel();
        dc6_3 = new javax.swing.JLabel();
        dc7_0 = new javax.swing.JLabel();
        dc7_1 = new javax.swing.JLabel();
        dc7_2 = new javax.swing.JLabel();
        dc7_3 = new javax.swing.JLabel();
        r6in = new javax.swing.JLabel();
        r6out = new javax.swing.JLabel();
        spin = new javax.swing.JLabel();
        spoutI = new javax.swing.JLabel();
        pcout = new javax.swing.JLabel();
        ldR5 = new javax.swing.JLabel();
        ldR4 = new javax.swing.JLabel();
        r7in = new javax.swing.JLabel();
        r7out = new javax.swing.JLabel();
        pcin = new javax.swing.JLabel();
        ldR7 = new javax.swing.JLabel();
        pcoutI = new javax.swing.JLabel();
        spout = new javax.swing.JLabel();
        r5out = new javax.swing.JLabel();
        r4out = new javax.swing.JLabel();
        r3out = new javax.swing.JLabel();
        ldR6 = new javax.swing.JLabel();
        opsel = new javax.swing.JLabel();
        R2 = new javax.swing.JLabel();
        R3 = new javax.swing.JLabel();
        R4 = new javax.swing.JLabel();
        R5 = new javax.swing.JLabel();
        R6 = new javax.swing.JLabel();
        R7 = new javax.swing.JLabel();
        outR0 = new javax.swing.JLabel();
        outR1 = new javax.swing.JLabel();
        outR2 = new javax.swing.JLabel();
        outR3 = new javax.swing.JLabel();
        outR4 = new javax.swing.JLabel();
        outR5 = new javax.swing.JLabel();
        outR6 = new javax.swing.JLabel();
        outR7 = new javax.swing.JLabel();
        M1 = new javax.swing.JLabel();
        M2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();

        setBackground(new java.awt.Color(255, 255, 255));
        setLayout(new java.awt.GridBagLayout());

        regIN.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        regIN.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        regIN.setBounds(404, 50, 20, 690);
        jLayeredPane1.add(regIN, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regIn0.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regIn0.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        regIn0.setMaximumSize(new java.awt.Dimension(1050, 2));
        regIn0.setMinimumSize(new java.awt.Dimension(1050, 2));
        regIn0.setPreferredSize(new java.awt.Dimension(1050, 2));
        regIn0.setBounds(404, 44, 110, 10);
        jLayeredPane1.add(regIn0, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regIn1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regIn1.setText("jLabel2");
        regIn1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        regIn1.setBounds(404, 126, 110, 15);
        jLayeredPane1.add(regIn1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regIn2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regIn2.setText("jLabel2");
        regIn2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        regIn2.setBounds(403, 203, 110, 15);
        jLayeredPane1.add(regIn2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regin3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regin3.setText("jLabel2");
        regin3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        regin3.setBounds(404, 293, 110, 15);
        jLayeredPane1.add(regin3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regIn4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regIn4.setText("jLabel3");
        regIn4.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        regIn4.setBounds(404, 373, 110, 15);
        jLayeredPane1.add(regIn4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regIn5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regIn5.setText("jLabel4");
        regIn5.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        regIn5.setBounds(404, 457, 110, 15);
        jLayeredPane1.add(regIn5, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regIn6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regIn6.setText("jLabel5");
        regIn6.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        regIn6.setMaximumSize(new java.awt.Dimension(1080, 15));
        regIn6.setMinimumSize(new java.awt.Dimension(1080, 15));
        regIn6.setPreferredSize(new java.awt.Dimension(1080, 15));
        regIn6.setBounds(403, 541, 57, 15);
        jLayeredPane1.add(regIn6, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regIn7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regIn7.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        regIn7.setBounds(404, 650, 56, 10);
        jLayeredPane1.add(regIn7, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel2.setText("REGin");
        jLabel2.setBounds(370, 720, 40, 15);
        jLayeredPane1.add(jLabel2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc0_1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc0_1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc0_1.setBounds(335, 203, 21, 15);
        jLayeredPane1.add(dc0_1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc0_2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        dc0_2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        dc0_2.setBounds(354, 40, 10, 171);
        jLayeredPane1.add(dc0_2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc0_4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc0_4.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc0_4.setBounds(354, 60, 160, 15);
        jLayeredPane1.add(dc0_4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc0_3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc0_3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc0_3.setBounds(354, 34, 160, 10);
        jLayeredPane1.add(dc0_3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc1_1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        dc1_1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        dc1_1.setBounds(365, 124, 36, 121);
        jLayeredPane1.add(dc1_1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc1_0.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc1_0.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc1_0.setBounds(337, 240, 30, 10);
        jLayeredPane1.add(dc1_0, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc1_2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc1_2.setText("jLabel5");
        dc1_2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc1_2.setBounds(366, 144, 145, 15);
        jLayeredPane1.add(dc1_2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc1_3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc1_3.setText("jLabel6");
        dc1_3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc1_3.setBounds(365, 116, 150, 15);
        jLayeredPane1.add(dc1_3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ldR0.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        ldR0.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        ldR0.setEnabled(false);
        ldR0.setBounds(542, 38, 10, 10);
        jLayeredPane1.add(ldR0, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ldR1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        ldR1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        ldR1.setEnabled(false);
        ldR1.setBounds(542, 122, 10, 10);
        jLayeredPane1.add(ldR1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc2_3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc2_3.setText("jLabel3");
        dc2_3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc2_3.setBounds(335, 273, 50, 15);
        jLayeredPane1.add(dc2_3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc2_2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc2_2.setText("jLabel4");
        dc2_2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc2_2.setBounds(384, 228, 130, 15);
        jLayeredPane1.add(dc2_2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc2_1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc2_1.setText("jLabel5");
        dc2_1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc2_1.setBounds(384, 192, 130, 15);
        jLayeredPane1.add(dc2_1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc2_0.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        dc2_0.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        dc2_0.setBounds(384, 200, 10, 81);
        jLayeredPane1.add(dc2_0, javax.swing.JLayeredPane.DEFAULT_LAYER);

        r0out.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        r0out.setText("jLabel3");
        r0out.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        r0out.setEnabled(false);
        r0out.setBounds(543, 66, 93, 15);
        jLayeredPane1.add(r0out, javax.swing.JLayeredPane.DEFAULT_LAYER);

        r1out.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        r1out.setText("jLabel3");
        r1out.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        r1out.setEnabled(false);
        r1out.setBounds(544, 142, 93, 30);
        jLayeredPane1.add(r1out, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ldR2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        ldR2.setText("jLabel3");
        ldR2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        ldR2.setEnabled(false);
        ldR2.setBounds(543, 198, 10, 15);
        jLayeredPane1.add(ldR2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        r2out.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        r2out.setText("jLabel4");
        r2out.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        r2out.setEnabled(false);
        r2out.setBounds(544, 235, 93, 15);
        jLayeredPane1.add(r2out, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc3_0.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc3_0.setText("jLabel4");
        dc3_0.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc3_0.setEnabled(false);
        dc3_0.setBounds(334, 309, 180, 20);
        jLayeredPane1.add(dc3_0, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc3_1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc3_1.setText("jLabel4");
        dc3_1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc3_1.setBounds(386, 282, 130, 15);
        jLayeredPane1.add(dc3_1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc3_2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        dc3_2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        dc3_2.setBounds(386, 290, 20, 30);
        jLayeredPane1.add(dc3_2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        R0.setBackground(new java.awt.Color(248, 248, 248));
        R0.setFont(new java.awt.Font("Calibri", 0, 12));
        R0.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        R0.setText("R0");
        R0.setOpaque(true);
        R0.setBounds(569, 29, 73, 30);
        jLayeredPane1.add(R0, javax.swing.JLayeredPane.DEFAULT_LAYER);

        R1.setBackground(new java.awt.Color(248, 248, 248));
        R1.setFont(new java.awt.Font("Calibri", 0, 12));
        R1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        R1.setText("R1");
        R1.setOpaque(true);
        R1.setBounds(569, 112, 73, 30);
        jLayeredPane1.add(R1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ldR3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        ldR3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        ldR3.setEnabled(false);
        ldR3.setBounds(543, 290, 10, 10);
        jLayeredPane1.add(ldR3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regOut_0.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        regOut_0.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        regOut_0.setBounds(442, 80, 10, 660);
        jLayeredPane1.add(regOut_0, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regOut_1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regOut_1.setText("jLabel3");
        regOut_1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        regOut_1.setBounds(443, 73, 70, 15);
        jLayeredPane1.add(regOut_1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regOut_2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regOut_2.setDisabledIcon(regOut_1.getDisabledIcon());
        regOut_2.setBounds(441, 162, 70, 2);
        jLayeredPane1.add(regOut_2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regOut_3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regOut_3.setText("jLabel3");
        regOut_3.setDisabledIcon(regOut_1.getDisabledIcon());
        regOut_3.setBounds(443, 240, 70, 15);
        jLayeredPane1.add(regOut_3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regOut_4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regOut_4.setText("jLabel3");
        regOut_4.setDisabledIcon(r1out.getDisabledIcon());
        regOut_4.setEnabled(false);
        regOut_4.setBounds(442, 324, 70, 15);
        jLayeredPane1.add(regOut_4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regOut_5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regOut_5.setText("jLabel3");
        regOut_5.setDisabledIcon(regOut_4.getDisabledIcon());
        regOut_5.setBounds(443, 409, 70, 15);
        jLayeredPane1.add(regOut_5, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc4_2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc4_2.setText("jLabel4");
        dc4_2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc4_2.setBounds(336, 350, 60, 15);
        jLayeredPane1.add(dc4_2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc4_1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        dc4_1.setAlignmentY(0.0F);
        dc4_1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        dc4_1.setBounds(394, 356, 20, 49);
        jLayeredPane1.add(dc4_1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc4_0.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc4_0.setText("jLabel4");
        dc4_0.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc4_0.setBounds(395, 363, 120, 10);
        jLayeredPane1.add(dc4_0, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc4_3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc4_3.setText("jLabel4");
        dc4_3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc4_3.setBounds(394, 394, 120, 20);
        jLayeredPane1.add(dc4_3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regOut_6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regOut_6.setText("jLabel3");
        regOut_6.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        regOut_6.setBounds(442, 490, 71, 20);
        jLayeredPane1.add(regOut_6, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regOut_7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regOut_7.setText("jLabel4");
        regOut_7.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        regOut_7.setBounds(442, 583, 48, 15);
        jLayeredPane1.add(regOut_7, javax.swing.JLayeredPane.DEFAULT_LAYER);

        regOut_8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        regOut_8.setText("jLabel3");
        regOut_8.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        regOut_8.setBounds(441, 691, 49, 15);
        jLayeredPane1.add(regOut_8, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc5_0.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc5_0.setText("jLabel3");
        dc5_0.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc5_0.setBounds(335, 389, 46, 15);
        jLayeredPane1.add(dc5_0, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc5_1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        dc5_1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        dc5_1.setBounds(380, 396, 50, 93);
        jLayeredPane1.add(dc5_1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc5_2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc5_2.setText("jLabel4");
        dc5_2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc5_2.setBounds(380, 446, 134, 15);
        jLayeredPane1.add(dc5_2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc5_3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc5_3.setText("jLabel5");
        dc5_3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc5_3.setBounds(380, 481, 133, 15);
        jLayeredPane1.add(dc5_3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc6_0.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc6_0.setText("jLabel3");
        dc6_0.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc6_0.setBounds(336, 420, 36, 15);
        jLayeredPane1.add(dc6_0, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc6_1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        dc6_1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        dc6_1.setBounds(370, 427, 20, 151);
        jLayeredPane1.add(dc6_1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc6_2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc6_2.setText("jLabel4");
        dc6_2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc6_2.setBounds(371, 530, 90, 15);
        jLayeredPane1.add(dc6_2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc6_3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc6_3.setText("jLabel5");
        dc6_3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc6_3.setBounds(370, 571, 120, 15);
        jLayeredPane1.add(dc6_3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc7_0.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc7_0.setText("jLabel3");
        dc7_0.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc7_0.setBounds(335, 457, 28, 15);
        jLayeredPane1.add(dc7_0, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc7_1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        dc7_1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        dc7_1.setBounds(362, 464, 20, 223);
        jLayeredPane1.add(dc7_1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc7_2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc7_2.setText("jLabel5");
        dc7_2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc7_2.setBounds(361, 637, 100, 15);
        jLayeredPane1.add(dc7_2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        dc7_3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        dc7_3.setText("jLabel6");
        dc7_3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        dc7_3.setBounds(362, 680, 128, 15);
        jLayeredPane1.add(dc7_3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        r6in.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        r6in.setText("jLabel3");
        r6in.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        r6in.setEnabled(false);
        r6in.setBounds(489, 536, 29, 15);
        jLayeredPane1.add(r6in, javax.swing.JLayeredPane.DEFAULT_LAYER);

        r6out.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        r6out.setText("jLabel3");
        r6out.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        r6out.setEnabled(false);
        r6out.setBounds(520, 577, 32, 15);
        jLayeredPane1.add(r6out, javax.swing.JLayeredPane.DEFAULT_LAYER);

        spin.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        spin.setText("jLabel3");
        spin.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        spin.setEnabled(false);
        spin.setBounds(497, 547, 20, 15);
        jLayeredPane1.add(spin, javax.swing.JLayeredPane.DEFAULT_LAYER);

        spoutI.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        spoutI.setText("jLabel3");
        spoutI.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        spoutI.setEnabled(false);
        spoutI.setBounds(522, 589, 30, 15);
        jLayeredPane1.add(spoutI, javax.swing.JLayeredPane.DEFAULT_LAYER);

        pcout.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        pcout.setText("jLabel3");
        pcout.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        pcout.setEnabled(false);
        pcout.setBounds(578, 691, 82, 15);
        jLayeredPane1.add(pcout, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ldR5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        ldR5.setText("jLabel4");
        ldR5.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        ldR5.setEnabled(false);
        ldR5.setBounds(543, 451, 10, 15);
        jLayeredPane1.add(ldR5, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ldR4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        ldR4.setText("jLabel5");
        ldR4.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        ldR4.setEnabled(false);
        ldR4.setBounds(543, 368, 10, 15);
        jLayeredPane1.add(ldR4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        r7in.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        r7in.setText("jLabel6");
        r7in.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        r7in.setEnabled(false);
        r7in.setBounds(489, 643, 29, 15);
        jLayeredPane1.add(r7in, javax.swing.JLayeredPane.DEFAULT_LAYER);

        r7out.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        r7out.setText("jLabel7");
        r7out.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        r7out.setEnabled(false);
        r7out.setBounds(520, 685, 32, 15);
        jLayeredPane1.add(r7out, javax.swing.JLayeredPane.DEFAULT_LAYER);

        pcin.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        pcin.setText("jLabel8");
        pcin.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        pcin.setEnabled(false);
        pcin.setBounds(497, 655, 20, 15);
        jLayeredPane1.add(pcin, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ldR7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        ldR7.setText("jLabel9");
        ldR7.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        ldR7.setEnabled(false);
        ldR7.setBounds(541, 650, 12, 15);
        jLayeredPane1.add(ldR7, javax.swing.JLayeredPane.DEFAULT_LAYER);

        pcoutI.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        pcoutI.setText("jLabel10");
        pcoutI.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        pcoutI.setEnabled(false);
        pcoutI.setBounds(522, 697, 30, 15);
        jLayeredPane1.add(pcoutI, javax.swing.JLayeredPane.DEFAULT_LAYER);

        spout.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        spout.setText("jLabel11");
        spout.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        spout.setEnabled(false);
        spout.setBounds(578, 583, 58, 15);
        jLayeredPane1.add(spout, javax.swing.JLayeredPane.DEFAULT_LAYER);

        r5out.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        r5out.setText("jLabel12");
        r5out.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        r5out.setEnabled(false);
        r5out.setBounds(543, 487, 93, 15);
        jLayeredPane1.add(r5out, javax.swing.JLayeredPane.DEFAULT_LAYER);

        r4out.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        r4out.setText("jLabel13");
        r4out.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        r4out.setEnabled(false);
        r4out.setBounds(544, 403, 93, 15);
        jLayeredPane1.add(r4out, javax.swing.JLayeredPane.DEFAULT_LAYER);

        r3out.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        r3out.setText("jLabel14");
        r3out.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        r3out.setEnabled(false);
        r3out.setBounds(543, 319, 93, 15);
        jLayeredPane1.add(r3out, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ldR6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        ldR6.setText("jLabel15");
        ldR6.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        ldR6.setEnabled(false);
        ldR6.setBounds(541, 541, 12, 15);
        jLayeredPane1.add(ldR6, javax.swing.JLayeredPane.DEFAULT_LAYER);

        opsel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        opsel.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        opsel.setEnabled(false);
        opsel.setBounds(143, 373, 36, 43);
        jLayeredPane1.add(opsel, javax.swing.JLayeredPane.DEFAULT_LAYER);

        R2.setBackground(new java.awt.Color(248, 248, 248));
        R2.setFont(new java.awt.Font("Calibri", 0, 12));
        R2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        R2.setText("R2");
        R2.setOpaque(true);
        R2.setBounds(569, 196, 73, 30);
        jLayeredPane1.add(R2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        R3.setBackground(new java.awt.Color(248, 248, 248));
        R3.setFont(new java.awt.Font("Calibri", 0, 12));
        R3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        R3.setText("jLabel4");
        R3.setOpaque(true);
        R3.setBounds(569, 280, 73, 30);
        jLayeredPane1.add(R3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        R4.setBackground(new java.awt.Color(248, 248, 248));
        R4.setFont(new java.awt.Font("Calibri", 0, 12));
        R4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        R4.setText("jLabel5");
        R4.setOpaque(true);
        R4.setBounds(569, 365, 73, 30);
        jLayeredPane1.add(R4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        R5.setBackground(new java.awt.Color(248, 248, 248));
        R5.setFont(new java.awt.Font("Calibri", 0, 12));
        R5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        R5.setText("jLabel6");
        R5.setOpaque(true);
        R5.setBounds(569, 450, 73, 30);
        jLayeredPane1.add(R5, javax.swing.JLayeredPane.DEFAULT_LAYER);

        R6.setBackground(new java.awt.Color(248, 248, 248));
        R6.setFont(new java.awt.Font("Calibri", 0, 12));
        R6.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        R6.setText("jLabel7");
        R6.setOpaque(true);
        R6.setBounds(569, 534, 73, 30);
        jLayeredPane1.add(R6, javax.swing.JLayeredPane.DEFAULT_LAYER);

        R7.setBackground(new java.awt.Color(248, 248, 248));
        R7.setFont(new java.awt.Font("Calibri", 0, 12));
        R7.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        R7.setText("jLabel8");
        R7.setOpaque(true);
        R7.setBounds(569, 642, 73, 30);
        jLayeredPane1.add(R7, javax.swing.JLayeredPane.DEFAULT_LAYER);

        outR0.setText("jLabel3");
        outR0.setBounds(720, 70, 36, 15);
        jLayeredPane1.add(outR0, javax.swing.JLayeredPane.DEFAULT_LAYER);

        outR1.setText("jLabel4");
        outR1.setBounds(720, 153, 36, 15);
        jLayeredPane1.add(outR1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        outR2.setText("jLabel5");
        outR2.setBounds(720, 237, 36, 15);
        jLayeredPane1.add(outR2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        outR3.setText("jLabel6");
        outR3.setBounds(720, 321, 36, 15);
        jLayeredPane1.add(outR3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        outR4.setText("jLabel7");
        outR4.setBounds(720, 406, 36, 15);
        jLayeredPane1.add(outR4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        outR5.setText("jLabel8");
        outR5.setBounds(720, 490, 36, 15);
        jLayeredPane1.add(outR5, javax.swing.JLayeredPane.DEFAULT_LAYER);

        outR6.setText("jLabel9");
        outR6.setBounds(720, 586, 36, 15);
        jLayeredPane1.add(outR6, javax.swing.JLayeredPane.DEFAULT_LAYER);

        outR7.setText("jLabel10");
        outR7.setBounds(720, 694, 42, 15);
        jLayeredPane1.add(outR7, javax.swing.JLayeredPane.DEFAULT_LAYER);

        M1.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
        M1.setForeground(new java.awt.Color(0, 0, 255));
        M1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        M1.setText("M1");
        M1.setBounds(790, 280, 65, 30);
        jLayeredPane1.add(M1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        M2.setFont(new java.awt.Font("Calibri", 1, 14)); // NOI18N
        M2.setForeground(new java.awt.Color(0, 0, 255));
        M2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        M2.setText("M2");
        M2.setBounds(720, 360, 65, 30);
        jLayeredPane1.add(M2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel3.setText("REGout");
        jLabel3.setBounds(446, 720, 50, 15);
        jLayeredPane1.add(jLabel3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel4.setText("PCout");
        jLabel4.setBounds(515, 704, 35, 15);
        jLayeredPane1.add(jLabel4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel5.setText("SPout");
        jLabel5.setBounds(515, 595, 35, 15);
        jLayeredPane1.add(jLabel5, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel6.setText("PCin");
        jLabel6.setBounds(485, 661, 30, 15);
        jLayeredPane1.add(jLabel6, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel7.setText("SPin");
        jLabel7.setBounds(485, 553, 30, 15);
        jLayeredPane1.add(jLabel7, javax.swing.JLayeredPane.DEFAULT_LAYER);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.weightx = 1.0;
        gridBagConstraints.weighty = 1.0;
        add(jLayeredPane1, gridBagConstraints);

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/registri_background.jpg"))); // NOI18N
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 15;
        gridBagConstraints.weightx = 1.0;
        gridBagConstraints.weighty = 1.0;
        add(jLabel1, gridBagConstraints);
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel M1;
    private javax.swing.JLabel M2;
    private javax.swing.JLabel R0;
    private javax.swing.JLabel R1;
    private javax.swing.JLabel R2;
    private javax.swing.JLabel R3;
    private javax.swing.JLabel R4;
    private javax.swing.JLabel R5;
    private javax.swing.JLabel R6;
    private javax.swing.JLabel R7;
    private javax.swing.JLabel dc0_1;
    private javax.swing.JLabel dc0_2;
    private javax.swing.JLabel dc0_3;
    private javax.swing.JLabel dc0_4;
    private javax.swing.JLabel dc1_0;
    private javax.swing.JLabel dc1_1;
    private javax.swing.JLabel dc1_2;
    private javax.swing.JLabel dc1_3;
    private javax.swing.JLabel dc2_0;
    private javax.swing.JLabel dc2_1;
    private javax.swing.JLabel dc2_2;
    private javax.swing.JLabel dc2_3;
    private javax.swing.JLabel dc3_0;
    private javax.swing.JLabel dc3_1;
    private javax.swing.JLabel dc3_2;
    private javax.swing.JLabel dc4_0;
    private javax.swing.JLabel dc4_1;
    private javax.swing.JLabel dc4_2;
    private javax.swing.JLabel dc4_3;
    private javax.swing.JLabel dc5_0;
    private javax.swing.JLabel dc5_1;
    private javax.swing.JLabel dc5_2;
    private javax.swing.JLabel dc5_3;
    private javax.swing.JLabel dc6_0;
    private javax.swing.JLabel dc6_1;
    private javax.swing.JLabel dc6_2;
    private javax.swing.JLabel dc6_3;
    private javax.swing.JLabel dc7_0;
    private javax.swing.JLabel dc7_1;
    private javax.swing.JLabel dc7_2;
    private javax.swing.JLabel dc7_3;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLayeredPane jLayeredPane1;
    private javax.swing.JLabel ldR0;
    private javax.swing.JLabel ldR1;
    private javax.swing.JLabel ldR2;
    private javax.swing.JLabel ldR3;
    private javax.swing.JLabel ldR4;
    private javax.swing.JLabel ldR5;
    private javax.swing.JLabel ldR6;
    private javax.swing.JLabel ldR7;
    private javax.swing.JLabel opsel;
    private javax.swing.JLabel outR0;
    private javax.swing.JLabel outR1;
    private javax.swing.JLabel outR2;
    private javax.swing.JLabel outR3;
    private javax.swing.JLabel outR4;
    private javax.swing.JLabel outR5;
    private javax.swing.JLabel outR6;
    private javax.swing.JLabel outR7;
    private javax.swing.JLabel pcin;
    private javax.swing.JLabel pcout;
    private javax.swing.JLabel pcoutI;
    private javax.swing.JLabel r0out;
    private javax.swing.JLabel r1out;
    private javax.swing.JLabel r2out;
    private javax.swing.JLabel r3out;
    private javax.swing.JLabel r4out;
    private javax.swing.JLabel r5out;
    private javax.swing.JLabel r6in;
    private javax.swing.JLabel r6out;
    private javax.swing.JLabel r7in;
    private javax.swing.JLabel r7out;
    private javax.swing.JLabel regIN;
    private javax.swing.JLabel regIn0;
    private javax.swing.JLabel regIn1;
    private javax.swing.JLabel regIn2;
    private javax.swing.JLabel regIn4;
    private javax.swing.JLabel regIn5;
    private javax.swing.JLabel regIn6;
    private javax.swing.JLabel regIn7;
    private javax.swing.JLabel regOut_0;
    private javax.swing.JLabel regOut_1;
    private javax.swing.JLabel regOut_2;
    private javax.swing.JLabel regOut_3;
    private javax.swing.JLabel regOut_4;
    private javax.swing.JLabel regOut_5;
    private javax.swing.JLabel regOut_6;
    private javax.swing.JLabel regOut_7;
    private javax.swing.JLabel regOut_8;
    private javax.swing.JLabel regin3;
    private javax.swing.JLabel spin;
    private javax.swing.JLabel spout;
    private javax.swing.JLabel spoutI;
    // End of variables declaration//GEN-END:variables
}
